public class Car {
	public String carName;

	public String use;
	public void drive(){
		System.out.println("这是一辆"+carName);
		System.out.println("用于"+use);
	}
	public String getCarName() {
		return carName;
	}
	public void setCarName(String carName) {
		this.carName = carName;
	}
	public String getUse() {
		return use;
	}
	public void setUse(String use) {
		this.use = use;
	}
 
	
}

